<?php
/* Comment */
$comment = array(
	new $pattern ($self, array(
		'(:base_url)/(:community_url)/(:act)$',   'module'   => 'Community', 'action' => 'SubmitComment',
		'act' => 'comments_submit',
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:act)/(:path)$',
		'module' => 'Community',
		'action' => 'SubmitComment',
		'act' => 'comments_submit',
		'path' => 'ajax',
		'is_ajax' => 1,
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:community_url)/(:act)/(:path)$',
		'module' => 'Community',
		'action' => 'SubmitComment',
		'act' => 'comments_submit',
		'path' => 'ajax',
		'is_ajax' => 1,
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:community_url)/(:id_comment)/(:act)$',   'module'   => 'Community', 'action' => 'DeleteComment',
		'id_comment' => '[0-9]+',
		'act' => 'deletecomment',
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:community_url)/(:id_comment)/(:act)$',
		'module'   => 'Community',
		'action' => 'UpdateComment',
		'id_comment' => '[0-9]+',
		'act' => 'editcomment',
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:act)/(:path)$',
		'module' => 'Community',
		'action' => 'AjaxComments',
		'act' => 'ajax_comments',
		'path' => 'ajax',
		'is_ajax' => 1,
	  )),
	new $pattern ($self, array(
		'(:base_url)/(:community_url)/(:act)/(:path)$',
		'module' => 'Community',
		'action' => 'AjaxComments',
		'act' => 'ajax_comments',
		'path' => 'ajax',
		'is_ajax' => 1,
	  )),
);